home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / MEDICAL / H121A.ZIP / FILES6.EXE / lha / AMISS2.PGM < prev    next >
Text File  |  1991-07-15  |  1KB  |  34 lines

  1. ************************************************************************
  2. *AMISS2.PGM  Version 1.0, 20/FEB/1990                                  *
  3. *An Epi Info program to code missing variables for anthropometry values*
  4. *  See Epi Info documentation for more information.                    *
  5. *  by Kevin Sullivan, Division of Nutrition, CDC                       *
  6. ************************************************************************
  7. echo
  8. echo
  9. echo           You must read a file in order to run this program.  Type
  10. echo           READ and the name of a file.  There is an example data
  11. echo           file called NUTRI that can be used.
  12. echo
  13. ?EPI>?
  14. ************************************************************************
  15. *Declare missing variables based on z-scores                           *
  16. ************************************************************************
  17. Define NOHA #
  18. Define NOWH #
  19. Define NOWA #
  20. If haz<-6 or haz>6 then NOHA=1 else NOHA=0
  21. If whz<-4 or whz>6 then NOWH=1 else NOWH=0
  22. If waz<-6 or waz>6 then NOWA=1 else NOWA=0
  23. If ((haz>3.09) and (whz<-3.09)) or ((haz<-3.09) and (whz>3.09)) then NOHA=1
  24. If ((haz>3.09) and (whz<-3.09)) or ((haz<-3.09) and (whz>3.09)) then NOWH=1
  25. If NOHA then HAZ=.
  26. If NOHA then HAP=.
  27. If NOHA then HAM=.
  28. If NOWH then WHZ=.
  29. If NOWH then WHP=.
  30. if NOWH then WHM=.
  31. If NOWA then WAZ=.
  32. If NOWA then WAP=.
  33. If NOWA then WAM=.
  34.